﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Student.aspx.cs" Inherits="ClassAndObjectExamples.Student" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table style="width: 100%;">
        <tr> 
            <td> 
                <asp:Label ID="Label1" runat="server" Text="First Name"></asp:Label>
            </td>
            <td> 
                <asp:TextBox ID="txtFirstName" runat="server"></asp:TextBox> 
            </td>
        </tr>
        <tr> 
            <td> 
                <asp:Label ID="Label2" runat="server" Text="Last Name"></asp:Label>
            </td>
            <td> 
                <asp:TextBox ID="txtLastName" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr> 
            <td> 
                <asp:Label ID="Label3" runat="server" Text="Street Address"></asp:Label>
            </td>
            <td> 
                <asp:TextBox ID="txtStreetAddress" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr> 
            <td> 
                <asp:Label ID="Label4" runat="server" Text="City"></asp:Label>
            </td>
            <td> 
                <asp:TextBox ID="txtCity" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr> 
            <td> 
                <asp:Label ID="Label5" runat="server" Text="State"></asp:Label>
            </td>
            <td> 
                <asp:TextBox ID="txtState" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr> 
            <td> 
                <asp:Label ID="Label6" runat="server" Text="ZIP"></asp:Label>
            </td>
            <td> 
                <asp:TextBox ID="txtZip" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr> 
            <td colspan="2"> 
                <asp:Button ID="btnOk" runat="server" Text="OK" onclick="btnOk_Click" />&nbsp;
                <asp:Button ID="btnClear" runat="server" Text="Clear" 
                    onclick="btnClear_Click" />    
            </td>
        </tr>
        </table>
        <asp:Label ID="lblMailingLabel" runat="server" Text=""></asp:Label>
    </div>
    </form>
</body>
</html>
